Skip to content

feat: add album-record-store content template#115

Open
sweetmantech wants to merge 1 commit intomainfrom
feature/album-record-store-template
Open

feat: add album-record-store content template#115
sweetmantech wants to merge 1 commit intomainfrom
feature/album-record-store-template

Conversation

@sweetmantech
Copy link
Copy Markdown
Contributor

@sweetmantech sweetmantech commented Mar 30, 2026

Summary

  • New template for "album art on vinyl in a record store" content
  • Includes style guide, caption guide, example captions, video moods, and video movements
  • Template data only — no code changes
  • Split from feat: add optional songs filter to content creation pipeline #112 per SRP feedback (template separate from song filtering logic)

Test plan

  • Verify template loads correctly via loadTemplate("album-record-store")
  • Verify all JSON files parse without errors

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features
    • Added a new "album record store" template for creating video content featuring album artwork on vinyl records
    • Includes comprehensive caption generation guides with tone and formatting specifications
    • Provides mood descriptions and motion prompts to customize visual appearance and movement
    • Features example captions demonstrating proper style, phrasing, and content guidelines

New template for "album art on vinyl in a record store" content.
Includes style guide, caption guide, example captions, video moods,
and video movements. No code changes — template data only.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 30, 2026

📝 Walkthrough

Walkthrough

Added five new JSON template configuration files for an album-record-store feature, defining caption generation rules, visual styling directives, video mood descriptions, motion prompts, and example caption content to guide downstream rendering behavior.

Changes

Cohort / File(s) Summary
Caption Guidance
src/content/templates/album-record-store/caption-guide.json, src/content/templates/album-record-store/references/captions/examples.json
Introduces caption-generation rules (tone, formatting constraints, banned phrases) and 8 example caption lines for the album-art template.
Video & Style Configuration
src/content/templates/album-record-store/style-guide.json, src/content/templates/album-record-store/video-moods.json, src/content/templates/album-record-store/video-movements.json
Defines visual scene generation directives (album placement, camera angles, environment ambiance), mood descriptors (e.g., "warm nostalgia"), and motion prompts (vinyl spinning, camera drift, light flicker).

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 Five new templates hop into view,
Album records spinning, nostalgic and true!
Captions and moods paint vinyl's warm glow,
From dusty NYC, the guidance will flow.
Thump-thump goes my heart for this config debut! 🎵

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely summarizes the main change: adding a new album-record-store content template with multiple supporting files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/album-record-store-template

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@src/content/templates/album-record-store/style-guide.json`:
- Line 4: The template currently sets usesFaceGuide to true which conflicts with
the template's "no person in the shot" requirement; change the usesFaceGuide
boolean to false so face-guidance is disabled for this album template (update
the usesFaceGuide property in the template JSON to false and verify any
associated face-guidance flags or validators reference usesFaceGuide rather than
a separate flag).
- Line 5: The JSON key "customInstruction" contains contradictory directives
about text: change the wording to explicitly preserve any text that is part of
the original album art while removing only extraneous
overlays/captions/watermarks added to the image or scene; update the
"customInstruction" value to state “Do NOT alter or remove any text/design that
is part of the album cover art itself; however, remove any added captions,
watermarks, or overlays that are not part of the original artwork,” and keep the
rest of the scene instructions (vinyl on turntable, sleeve placement) unchanged
so callers know exactly what to preserve versus what to strip.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 79581e6e-9df5-4e09-b0a4-7d5977d10b02

📥 Commits

Reviewing files that changed from the base of the PR and between 01ba744 and faa1830.

📒 Files selected for processing (5)
  • src/content/templates/album-record-store/caption-guide.json
  • src/content/templates/album-record-store/references/captions/examples.json
  • src/content/templates/album-record-store/style-guide.json
  • src/content/templates/album-record-store/video-moods.json
  • src/content/templates/album-record-store/video-movements.json

{
"name": "album-record-store",
"description": "Album cover art displayed in a gritty New York record store — vinyl spinning on a turntable",
"usesFaceGuide": true,
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Set usesFaceGuide to false for this template.

Line 4 conflicts with Line 24 (“no person in the shot”). Keeping face guidance enabled can inject unintended identity constraints into a non-face composition.

Suggested change
-  "usesFaceGuide": true,
+  "usesFaceGuide": false,
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"usesFaceGuide": true,
"usesFaceGuide": false,
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@src/content/templates/album-record-store/style-guide.json` at line 4, The
template currently sets usesFaceGuide to true which conflicts with the
template's "no person in the shot" requirement; change the usesFaceGuide boolean
to false so face-guidance is disabled for this album template (update the
usesFaceGuide property in the template JSON to false and verify any associated
face-guidance flags or validators reference usesFaceGuide rather than a separate
flag).

"name": "album-record-store",
"description": "Album cover art displayed in a gritty New York record store — vinyl spinning on a turntable",
"usesFaceGuide": true,
"customInstruction": "Place the album cover art from the first image onto a vinyl record sleeve and display it prominently in the scene. The album art should be clearly visible — propped up on a shelf, leaning against a crate, or displayed on the counter next to the turntable. A vinyl record from the same album is spinning on a turntable nearby. Do NOT alter the album art — reproduce it exactly. Remove any text, captions, watermarks, or overlays from the generated scene. The album art itself should retain its original text/design.",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Resolve conflicting text-preservation instructions in customInstruction.

Line 5 says both “Do NOT alter the album art” and “Remove any text…”. This is ambiguous and can lead to stripping text that is part of the cover art.

Suggested clarification
-  "customInstruction": "Place the album cover art from the first image onto a vinyl record sleeve and display it prominently in the scene. The album art should be clearly visible — propped up on a shelf, leaning against a crate, or displayed on the counter next to the turntable. A vinyl record from the same album is spinning on a turntable nearby. Do NOT alter the album art — reproduce it exactly. Remove any text, captions, watermarks, or overlays from the generated scene. The album art itself should retain its original text/design.",
+  "customInstruction": "Place the album cover art from the first image onto a vinyl record sleeve and display it prominently in the scene. The album art should be clearly visible — propped up on a shelf, leaning against a crate, or displayed on the counter next to the turntable. A vinyl record from the same album is spinning on a turntable nearby. Do NOT alter the album art — reproduce it exactly, including its original text/design. Do not add any extra scene overlays, subtitles, captions, or watermarks outside the album artwork.",
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"customInstruction": "Place the album cover art from the first image onto a vinyl record sleeve and display it prominently in the scene. The album art should be clearly visible — propped up on a shelf, leaning against a crate, or displayed on the counter next to the turntable. A vinyl record from the same album is spinning on a turntable nearby. Do NOT alter the album art — reproduce it exactly. Remove any text, captions, watermarks, or overlays from the generated scene. The album art itself should retain its original text/design.",
"customInstruction": "Place the album cover art from the first image onto a vinyl record sleeve and display it prominently in the scene. The album art should be clearly visible — propped up on a shelf, leaning against a crate, or displayed on the counter next to the turntable. A vinyl record from the same album is spinning on a turntable nearby. Do NOT alter the album art — reproduce it exactly, including its original text/design. Do not add any extra scene overlays, subtitles, captions, or watermarks outside the album artwork.",
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@src/content/templates/album-record-store/style-guide.json` at line 5, The
JSON key "customInstruction" contains contradictory directives about text:
change the wording to explicitly preserve any text that is part of the original
album art while removing only extraneous overlays/captions/watermarks added to
the image or scene; update the "customInstruction" value to state “Do NOT alter
or remove any text/design that is part of the album cover art itself; however,
remove any added captions, watermarks, or overlays that are not part of the
original artwork,” and keep the rest of the scene instructions (vinyl on
turntable, sleeve placement) unchanged so callers know exactly what to preserve
versus what to strip.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant